package com.qm.service;

import com.qm.pojo.Order;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 @author james
 @create 2021-05-01 19:50
 */
public interface AlipayService {
    /**
     * 支付宝支付调用接口
     * @param response
     * @param request
     * @throws IOException
     */
    void  aliPay(HttpServletResponse response, HttpServletRequest request) throws IOException;

    void  aliPay(HttpServletResponse response, HttpServletRequest request, Order order) throws IOException;

}
